package com.regex.web.entity.essentialinformation;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.regex.web.entity.StrIdBaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.regex.web.common.excel.annotation.ExcelField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 残疾人基本信息
 * </p>
 *
 * @author lyc
 * @since 2021-06-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cl_cjrjbxx")
public class ClCjrjbxxDTO extends StrIdBaseEntity implements Cloneable {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @TableField("name")
    @ExcelField(title="姓名",  align=2 , sort=1, dictType="")
    private String name;

    /**
     * 年龄
     */
    @TableField("age")
    @ExcelField(title="年龄",  align=2 , sort=2, dictType="")
    private String age;

    /**
     * 性别
     */
    @TableField("gender")
    @ExcelField(title="性别",  align=2 , sort=3, dictType="")
    private String gender;

    /**
     * 残疾人类型
     */
    @TableField("disabled_type")
    @ExcelField(title="残疾人类型",  align=2 , sort=4, dictType="")
    private String disabledType;

    /**
     * 残疾人等级
     */
    @TableField("disabled_grade")
    @ExcelField(title="残疾人等级",  align=2 , sort=5, dictType="")
    private String disabledGrade;

    /**
     * 证件号
     */
    @TableField("certificate_number")
    @ExcelField(title="证件号",  align=2 , sort=6, dictType="")
    private String certificateNumber;

    /**
     * 地区
     */
    @TableField("region")
    @ExcelField(title="地区",  align=2 , sort=7, dictType="")
    private String region;

    /**
     * 持证状态
     */
    @TableField("certificate_status")
    @ExcelField(title="持证状态",  align=2 , sort=8, dictType="")
    private String certificateStatus;

    /**
     * 婚姻状态
     */
    @TableField("marital_status")
    @ExcelField(title="婚姻状态",  align=2 , sort=9, dictType="")
    private String maritalStatus;

    /**
     * 地址
     */
    @TableField("address")
    @ExcelField(title="地址",  align=2 , sort=10, dictType="")
    private String address;

    /**
     * 参保状态
     */
    @TableField("insured_status")
    @ExcelField(title="参保状态",  align=2 , sort=11, dictType="")
    private String insuredStatus;

    /**
     * 参保电脑号
     */
    @TableField("Insured_number")
    @ExcelField(title="参保电脑号",  align=2 , sort=12, dictType="")
    private String insuredNumber;

    /**
     * 残疾等级
     */
    @TableField("disability_level")
    @ExcelField(title="残疾等级",  align=2 , sort=13, dictType="")
    private String disabilityLevel;

    /**
     * 是否残疾军人
     */
    @TableField("whether_soldiers")
    @ExcelField(title="是否残疾军人",  align=2 , sort=14, dictType="")
    private String whetherSoldiers;

    /**
     * 残疾军人证件号
     */
    @TableField("soldiers_number")
    @ExcelField(title="残疾军人证件号",  align=2 , sort=15, dictType="")
    private String soldiersNumber;

    /**
     * 是否警察
     */
    @TableField("whether_police")
    @ExcelField(title="是否警察",  align=2 , sort=16, dictType="")
    private String whetherPolice;

    /**
     * 警察证件号
     */
    @TableField("police_number")
    @ExcelField(title="警察证件号",  align=2 , sort=17, dictType="")
    private String policeNumber;

    /**
     * 学历
     */
    @TableField("education")
    @ExcelField(title="学历",  align=2 , sort=18, dictType="")
    private String education;

    /**
     * 是否享受低保
     */
    @TableField("whether_Insurance")
    @ExcelField(title="是否享受低保",  align=2 , sort=19, dictType="")
    private String whetherInsurance;


    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }


private static ClCjrjbxxDTO clCjrjbxxDTO = new ClCjrjbxxDTO();
    
    public static ClCjrjbxxDTO getInstance() {
        try {
            return (ClCjrjbxxDTO) clCjrjbxxDTO.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return new ClCjrjbxxDTO();
    }

}
